<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">  
	<meta name="apple-mobile-web-app-status-bar-style" content="black">  
	<meta content="telephone=no" name="format-detection">
	<%-- <link rel="stylesheet" href="<%=request.getContextPath()%>/resources/lib/jQuery-tck/css/common.css"/> --%>
	
	<title>Insert title here</title>

	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/common/js/jquery.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/common/js/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/common/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/common/js/bootstrapValidator.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/common/js/common.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/message/js/purchasesub.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/wineproduct/js/wineproduct_bootstrapValidator.js"></script> 
 	<link rel="stylesheet" href="<%=request.getContextPath()%>/resources/common/css/bootstrap.min.css"/> 
	<link rel="stylesheet" href="<%=request.getContextPath()%>/resources/common/css/jquery.dataTables.min.css"/> 
	<link rel="stylesheet" href="<%=request.getContextPath()%>/resources/common/css/bootstrapValidator.min.css"/> 

</head>
<body>
	
	<!-- 商品名检索<input type="text" id="searchByName" class="search_diy"/></br>
	类型检索<input type="text" id="searchByType" class="search_diy"/> -->
	</br>
	<div>
		当前位置：<a href="<%=request.getContextPath()%>/purchase/list">订单</a>>>订单详情
	</div>
	<button   class="btn btn-primary btn-sm addBtn" id="addPurchaseWineProduct_button_id" >新 增</button>
		<input type="hidden" value="${phid }" id="getPhid"/>
	<div>
		<table id="example" class="table table-bordered table-header">
			<thead>
				<tr>
					<th>全选</br><input type="checkbox" name="allChecked" /></th>
					<th>wid</th>
					<th>酒名</th>
					<th>操作</th>
					</tr>
			</thead>
			<tbody>
			</tbody>		
		</table>
	</div>
	<!--  -->
	<div class="modal fade" id="myModal-addPurchaseWineProduct-info" tabindex="-1" role="dialog"
                 aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close"
                                    data-dismiss="modal" aria-hidden="true">
                                &times;
                            </button>
                            <h4 class="modal-title" >
                               新增
                            </h4>
                        </div>
                        <form class="required-validate" role="form" action="" method="post"  id="addPurchaseWineproduct_from_id">
                            <div class="modal-body">
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right" >酒名： </label>

                                   <!--  <div class="col-sm-9">
                                        <input type="text"  class="form-control" id="updatePronameId"  name="proname" style="width: 250px" maxlength="15" placeholder="10个汉字以内" />
                                        <input type="hidden" name="id" id="updateIdId"/>

                                    </div> -->
                                   <div class="col-sm-9">
                                        <!-- <input type="text"  class="form-control" id="brandnameid"  name="rname" style="width: 250px" maxlength="15" placeholder="10个汉字以内" /> -->
											<select class="form-control" id="getPurchasesubOption"></select>
                                   			<input type="hidden" id="wineId_id"/>
                                    </div> 
                                </div>                                                
                            </div>                                         
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default"
                                        data-dismiss="modal">关闭
                                </button><!--onclick="addRole_button_ajax()"  -->
                                <button type="button" id="addPurchaseProduct_button_id" onclick="addPurchaseWineProduct_bootstrap()" class="btn btn-primary" >提交</button>
                                
                            </div>
                        </form>
                    </div><!-- /.modal-content -->
                </div>
        </div>	
            
   
</body>
</html>